package com.code.day06;
public class Person {
    //成员变量
    String name;
    public void eat(){
        int i = 10;//局部变量
        System.out.println(name);
        System.out.println(i);
    }

    public void drink(){
        System.out.println(name);
        //System.out.println(i);
    }
}
